
<div class="kehoaches index">
	<h2><?php __('Kết quả thực hiện chỉ tiêu của '.$tendv[0] ['donvis'] ['tendv']);?></h2>
	<table cellpadding="0" cellspacing="0" id="tables">
	<tr>
			<th><?php echo 'STT';?></th>
			<th><?php echo 'Thời gian';?></th>
			<th class="actions"><?php __('Lựa chọn');?></th>
	</tr>
	<?php
	$i = 0;$stt=0;
	foreach ($kehoaches as $kehoach):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $stt=$stt+1; ?>&nbsp;</td>
		<td>
			<?php echo $kehoach['Thoigian']['thoigian']; ?>
		</td>
       
        
		<td class="actions">
			<?php 
                  echo $this->Html->link(__('Xem báo cáo kết quả', true), array('controller'=>'kqbanhangtts','action'=>'capnhatkq',$kehoach['Kehoach']['id']));
			        
                ?>
                   
                    
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	
	echo $this->Paginator->counter(array(
        	'format' => __('Trang %page%/%pages%, hiện có %count% mẫu tin', true)
        	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('Trước', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('Sau', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
